<template>
  <van-nav-bar
    title="商品详情"
    left-text="返回"
    left-arrow
    @click-left="onClickLeft"
  />
  <text>这是详情页</text>
</template>
<script setup>
// 导航栏回退
const onClickLeft = () => history.back();
</script>
